{extend name="common:base" /}

{block name="css"}
{/block}

{block name="content"}
<section class="w-all p-t-20 p-b-20 bg-c-eee overfhide">
    <ul class="container subnav subnav3">
        {foreach($categoryList as $v)}
        <li>
            <a href="/article?category_id={$v.id}" {if($currCategoryId == $v['id'])}class="cur"{/if}>
            <h2>{$v.title}</h2>
            <span>{$v.title_en}</span>
            </a>
        </li>
        {/foreach}
    </ul>
</section>
<section class="container overfhide">
    <ul class="w-sall crumbs">
        当前位置：<a href="#">首页</a>&gt;<a href="#">新闻中心</a>&gt;<a href="#">详情</a>
    </ul>
    <div class="container">
        <div class="container p-b-20 tit_line overfhide">
            <h2 class="w-all txt-al-c tit_news">{$info.title}</h2>
            <span class="tnews_tips">上传时间：{$info.create_time} &nbsp;&nbsp;&nbsp;浏览量：123</span> </div>
        <div class="maincon p-t-20 overfhide">
            {$info.content}
        </div>
        <div class="pagenxtprv overfhide">

            {if(!is_null($prevInfo))}
            <a href="/article/detail/{$prevInfo.id}" class="pagenext">
                <span>&lt;</span>
                <h2>上一篇：{$prevInfo.title}</h2>
            </a>
            {/if}
            {if(!is_null($nextInfo))}
            <a href="/article/detail/{$nextInfo.id}" class="pageprev" style="text-align: right;">
                <h2>下一篇：{$nextInfo.title}</h2>
                <span>&gt;</span>
            </a>
            {/if}

        </div>

    </div>
</section>
{/block}

{block name="js"}
{/block}